3.2.91 \(\int (d+e x)^3 \log (c (a+b x^3)^p) \, dx\) [191]

Optimal. Leaf size=320 \[ -\frac {3 \left (4 b d^3-a e^3\right ) p x}{4 b}-\frac {9}{4} d^2 e p x^2-d e^2 p x^3-\frac {3}{16} e^3 p x^4-\frac {\sqrt {3} \sqrt [3]{a} \left (4 b d^3+6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p \tan ^{-1}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt {3} \sqrt [3]{a}}\right )}{4 b^{4/3}}+\frac {\sqrt [3]{a} \left (4 b d^3-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{4 b^{4/3}}-\frac {\sqrt [3]{a} \left (4 b d^3-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{8 b^{4/3}}-\frac {d \left (b d^3-4 a e^3\right ) p \log \left (a+b x^3\right )}{4 b e}+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e} \]

[Out]

-3/4*(-a*e^3+4*b*d^3)*p*x/b-9/4*d^2*e*p*x^2-d*e^2*p*x^3-3/16*e^3*p*x^4+1/4*a^(1/3)*(4*b*d^3-6*a^(1/3)*b^(2/3)*
d^2*e-a*e^3)*p*ln(a^(1/3)+b^(1/3)*x)/b^(4/3)-1/8*a^(1/3)*(4*b*d^3-6*a^(1/3)*b^(2/3)*d^2*e-a*e^3)*p*ln(a^(2/3)-
a^(1/3)*b^(1/3)*x+b^(2/3)*x^2)/b^(4/3)-1/4*d*(-4*a*e^3+b*d^3)*p*ln(b*x^3+a)/b/e+1/4*(e*x+d)^4*ln(c*(b*x^3+a)^p
)/e-1/4*a^(1/3)*(4*b*d^3+6*a^(1/3)*b^(2/3)*d^2*e-a*e^3)*p*arctan(1/3*(a^(1/3)-2*b^(1/3)*x)/a^(1/3)*3^(1/2))*3^
(1/2)/b^(4/3)

________________________________________________________________________________________

Rubi [A]
time = 0.51, antiderivative size = 320, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 11, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.550, Rules used = {2513, 1850, 1901, 1885, 1874, 31, 648, 631, 210, 642, 266} \begin {gather*} -\frac {\sqrt [3]{a} p \left (-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3+4 b d^3\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{8 b^{4/3}}-\frac {\sqrt {3} \sqrt [3]{a} p \text {ArcTan}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt {3} \sqrt [3]{a}}\right ) \left (6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3+4 b d^3\right )}{4 b^{4/3}}+\frac {\sqrt [3]{a} p \left (-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3+4 b d^3\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{4 b^{4/3}}+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}-\frac {d p \left (b d^3-4 a e^3\right ) \log \left (a+b x^3\right )}{4 b e}-\frac {3 p x \left (4 b d^3-a e^3\right )}{4 b}-\frac {9}{4} d^2 e p x^2-d e^2 p x^3-\frac {3}{16} e^3 p x^4 \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(d + e*x)^3*Log[c*(a + b*x^3)^p],x]

[Out]

(-3*(4*b*d^3 - a*e^3)*p*x)/(4*b) - (9*d^2*e*p*x^2)/4 - d*e^2*p*x^3 - (3*e^3*p*x^4)/16 - (Sqrt[3]*a^(1/3)*(4*b*
d^3 + 6*a^(1/3)*b^(2/3)*d^2*e - a*e^3)*p*ArcTan[(a^(1/3) - 2*b^(1/3)*x)/(Sqrt[3]*a^(1/3))])/(4*b^(4/3)) + (a^(
1/3)*(4*b*d^3 - 6*a^(1/3)*b^(2/3)*d^2*e - a*e^3)*p*Log[a^(1/3) + b^(1/3)*x])/(4*b^(4/3)) - (a^(1/3)*(4*b*d^3 -
 6*a^(1/3)*b^(2/3)*d^2*e - a*e^3)*p*Log[a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2])/(8*b^(4/3)) - (d*(b*d^3 -
4*a*e^3)*p*Log[a + b*x^3])/(4*b*e) + ((d + e*x)^4*Log[c*(a + b*x^3)^p])/(4*e)

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 210

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^(-1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])
], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 266

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rule 631

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[a*(c/b^2)]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b)], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 642

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[d*(Log[RemoveContent[a + b*x +
c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 648

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 1850

Int[(Pq_)*((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{q = Expon[Pq, x]}, With[{Pqq =
Coeff[Pq, x, q]}, Dist[1/(b*(m + q + n*p + 1)), Int[(c*x)^m*ExpandToSum[b*(m + q + n*p + 1)*(Pq - Pqq*x^q) - a
*Pqq*(m + q - n + 1)*x^(q - n), x]*(a + b*x^n)^p, x], x] + Simp[Pqq*(c*x)^(m + q - n + 1)*((a + b*x^n)^(p + 1)
/(b*c^(q - n + 1)*(m + q + n*p + 1))), x]] /; NeQ[m + q + n*p + 1, 0] && q - n >= 0 && (IntegerQ[2*p] || Integ
erQ[p + (q + 1)/(2*n)])] /; FreeQ[{a, b, c, m, p}, x] && PolyQ[Pq, x] && IGtQ[n, 0]

Rule 1874

Int[((A_) + (B_.)*(x_))/((a_) + (b_.)*(x_)^3), x_Symbol] :> With[{r = Numerator[Rt[a/b, 3]], s = Denominator[R
t[a/b, 3]]}, Dist[(-r)*((B*r - A*s)/(3*a*s)), Int[1/(r + s*x), x], x] + Dist[r/(3*a*s), Int[(r*(B*r + 2*A*s) +
 s*(B*r - A*s)*x)/(r^2 - r*s*x + s^2*x^2), x], x]] /; FreeQ[{a, b, A, B}, x] && NeQ[a*B^3 - b*A^3, 0] && PosQ[
a/b]

Rule 1885

Int[(P2_)/((a_) + (b_.)*(x_)^3), x_Symbol] :> With[{A = Coeff[P2, x, 0], B = Coeff[P2, x, 1], C = Coeff[P2, x,
 2]}, Int[(A + B*x)/(a + b*x^3), x] + Dist[C, Int[x^2/(a + b*x^3), x], x] /; EqQ[a*B^3 - b*A^3, 0] ||  !Ration
alQ[a/b]] /; FreeQ[{a, b}, x] && PolyQ[P2, x, 2]

Rule 1901

Int[(Pq_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Int[ExpandIntegrand[Pq/(a + b*x^n), x], x] /; FreeQ[{a, b}, x
] && PolyQ[Pq, x] && IntegerQ[n]

Rule 2513

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))*((f_.) + (g_.)*(x_))^(r_.), x_Symbol] :> Simp[(f
 + g*x)^(r + 1)*((a + b*Log[c*(d + e*x^n)^p])/(g*(r + 1))), x] - Dist[b*e*n*(p/(g*(r + 1))), Int[x^(n - 1)*((f
 + g*x)^(r + 1)/(d + e*x^n)), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p, r}, x] && (IGtQ[r, 0] || RationalQ[n
]) && NeQ[r, -1]

Rubi steps

\begin {align*} \int (d+e x)^3 \log \left (c \left (a+b x^3\right )^p\right ) \, dx &=\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}-\frac {(3 b p) \int \frac {x^2 (d+e x)^4}{a+b x^3} \, dx}{4 e}\\ &=-\frac {3}{16} e^3 p x^4+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}-\frac {(3 p) \int \frac {x^2 \left (4 b d^4+4 e \left (4 b d^3-a e^3\right ) x+24 b d^2 e^2 x^2+16 b d e^3 x^3\right )}{a+b x^3} \, dx}{16 e}\\ &=-d e^2 p x^3-\frac {3}{16} e^3 p x^4+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}-\frac {p \int \frac {x^2 \left (12 b d \left (b d^3-4 a e^3\right )+12 b e \left (4 b d^3-a e^3\right ) x+72 b^2 d^2 e^2 x^2\right )}{a+b x^3} \, dx}{16 b e}\\ &=-d e^2 p x^3-\frac {3}{16} e^3 p x^4+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}-\frac {p \int \left (12 e \left (4 b d^3-a e^3\right )+72 b d^2 e^2 x-\frac {12 \left (a e \left (4 b d^3-a e^3\right )+6 a b d^2 e^2 x-b d \left (b d^3-4 a e^3\right ) x^2\right )}{a+b x^3}\right ) \, dx}{16 b e}\\ &=-\frac {3 \left (4 b d^3-a e^3\right ) p x}{4 b}-\frac {9}{4} d^2 e p x^2-d e^2 p x^3-\frac {3}{16} e^3 p x^4+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}+\frac {(3 p) \int \frac {a e \left (4 b d^3-a e^3\right )+6 a b d^2 e^2 x-b d \left (b d^3-4 a e^3\right ) x^2}{a+b x^3} \, dx}{4 b e}\\ &=-\frac {3 \left (4 b d^3-a e^3\right ) p x}{4 b}-\frac {9}{4} d^2 e p x^2-d e^2 p x^3-\frac {3}{16} e^3 p x^4+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}+\frac {(3 p) \int \frac {a e \left (4 b d^3-a e^3\right )+6 a b d^2 e^2 x}{a+b x^3} \, dx}{4 b e}-\frac {\left (3 d \left (b d^3-4 a e^3\right ) p\right ) \int \frac {x^2}{a+b x^3} \, dx}{4 e}\\ &=-\frac {3 \left (4 b d^3-a e^3\right ) p x}{4 b}-\frac {9}{4} d^2 e p x^2-d e^2 p x^3-\frac {3}{16} e^3 p x^4-\frac {d \left (b d^3-4 a e^3\right ) p \log \left (a+b x^3\right )}{4 b e}+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}+\frac {p \int \frac {\sqrt [3]{a} \left (6 a^{4/3} b d^2 e^2+2 a \sqrt [3]{b} e \left (4 b d^3-a e^3\right )\right )+\sqrt [3]{b} \left (6 a^{4/3} b d^2 e^2-a \sqrt [3]{b} e \left (4 b d^3-a e^3\right )\right ) x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{4 a^{2/3} b^{4/3} e}+\frac {\left (\sqrt [3]{a} \left (4 b d^3-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p\right ) \int \frac {1}{\sqrt [3]{a}+\sqrt [3]{b} x} \, dx}{4 b}\\ &=-\frac {3 \left (4 b d^3-a e^3\right ) p x}{4 b}-\frac {9}{4} d^2 e p x^2-d e^2 p x^3-\frac {3}{16} e^3 p x^4+\frac {\sqrt [3]{a} \left (4 b d^3-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{4 b^{4/3}}-\frac {d \left (b d^3-4 a e^3\right ) p \log \left (a+b x^3\right )}{4 b e}+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}-\frac {\left (\sqrt [3]{a} \left (4 b d^3-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p\right ) \int \frac {-\sqrt [3]{a} \sqrt [3]{b}+2 b^{2/3} x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{8 b^{4/3}}+\frac {\left (3 a^{2/3} \left (4 b d^3+6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p\right ) \int \frac {1}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{8 b}\\ &=-\frac {3 \left (4 b d^3-a e^3\right ) p x}{4 b}-\frac {9}{4} d^2 e p x^2-d e^2 p x^3-\frac {3}{16} e^3 p x^4+\frac {\sqrt [3]{a} \left (4 b d^3-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{4 b^{4/3}}-\frac {\sqrt [3]{a} \left (4 b d^3-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{8 b^{4/3}}-\frac {d \left (b d^3-4 a e^3\right ) p \log \left (a+b x^3\right )}{4 b e}+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}+\frac {\left (3 \sqrt [3]{a} \left (4 b d^3+6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a}}\right )}{4 b^{4/3}}\\ &=-\frac {3 \left (4 b d^3-a e^3\right ) p x}{4 b}-\frac {9}{4} d^2 e p x^2-d e^2 p x^3-\frac {3}{16} e^3 p x^4-\frac {\sqrt {3} \sqrt [3]{a} \left (4 b d^3+6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p \tan ^{-1}\left (\frac {\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt {3} \sqrt [3]{a}}\right )}{4 b^{4/3}}+\frac {\sqrt [3]{a} \left (4 b d^3-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{4 b^{4/3}}-\frac {\sqrt [3]{a} \left (4 b d^3-6 \sqrt [3]{a} b^{2/3} d^2 e-a e^3\right ) p \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{8 b^{4/3}}-\frac {d \left (b d^3-4 a e^3\right ) p \log \left (a+b x^3\right )}{4 b e}+\frac {(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
time = 0.35, size = 264, normalized size = 0.82 \begin {gather*} \frac {\frac {3 e \left (-4 b d^3+a e^3\right ) p x}{b}-9 d^2 e^2 p x^2-4 d e^3 p x^3-\frac {3}{4} e^4 p x^4+9 d^2 e^2 p x^2 \, _2F_1\left (\frac {2}{3},1;\frac {5}{3};-\frac {b x^3}{a}\right )+\frac {\sqrt [3]{a} e \left (4 b d^3-a e^3\right ) p \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{b^{4/3}}+\frac {\sqrt [3]{a} e \left (-4 b d^3+a e^3\right ) p \left (2 \sqrt {3} \tan ^{-1}\left (\frac {1-\frac {2 \sqrt [3]{b} x}{\sqrt [3]{a}}}{\sqrt {3}}\right )+\log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )\right )}{2 b^{4/3}}-\frac {d \left (b d^3-4 a e^3\right ) p \log \left (a+b x^3\right )}{b}+(d+e x)^4 \log \left (c \left (a+b x^3\right )^p\right )}{4 e} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(d + e*x)^3*Log[c*(a + b*x^3)^p],x]

[Out]

((3*e*(-4*b*d^3 + a*e^3)*p*x)/b - 9*d^2*e^2*p*x^2 - 4*d*e^3*p*x^3 - (3*e^4*p*x^4)/4 + 9*d^2*e^2*p*x^2*Hypergeo
metric2F1[2/3, 1, 5/3, -((b*x^3)/a)] + (a^(1/3)*e*(4*b*d^3 - a*e^3)*p*Log[a^(1/3) + b^(1/3)*x])/b^(4/3) + (a^(
1/3)*e*(-4*b*d^3 + a*e^3)*p*(2*Sqrt[3]*ArcTan[(1 - (2*b^(1/3)*x)/a^(1/3))/Sqrt[3]] + Log[a^(2/3) - a^(1/3)*b^(
1/3)*x + b^(2/3)*x^2]))/(2*b^(4/3)) - (d*(b*d^3 - 4*a*e^3)*p*Log[a + b*x^3])/b + (d + e*x)^4*Log[c*(a + b*x^3)
^p])/(4*e)

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 3.
time = 0.79, size = 738, normalized size = 2.31

method result size
risch \(\frac {3 i e \pi \,d^{2} x^{2} \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2} \mathrm {csgn}\left (i c \right )}{4}-3 d^{3} p x +e^{2} \ln \left (c \right ) d \,x^{3}+\frac {3 e \ln \left (c \right ) d^{2} x^{2}}{2}-\frac {i e^{2} \pi d \,x^{3} \mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \right )}{2}-\frac {3 i e \pi \,d^{2} x^{2} \mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \right )}{4}+\frac {e^{3} \ln \left (c \right ) x^{4}}{4}-\frac {3 e^{3} p \,x^{4}}{16}+\frac {3 e^{3} a p x}{4 b}+\frac {\left (e x +d \right )^{4} \ln \left (\left (x^{3} b +a \right )^{p}\right )}{4 e}-\frac {i e^{3} \pi \,x^{4} \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{3}}{8}-\frac {i \pi \,d^{3} x \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{3}}{2}-\frac {i \pi \,d^{3} x \,\mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \right )}{2}-\frac {i e^{3} \pi \,x^{4} \mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \right )}{8}+\frac {i e^{2} \pi d \,x^{3} \mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2}}{2}+\frac {i e^{2} \pi d \,x^{3} \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2} \mathrm {csgn}\left (i c \right )}{2}+\frac {3 i e \pi \,d^{2} x^{2} \mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2}}{4}+\frac {i \pi \,d^{3} x \,\mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2}}{2}+\frac {i \pi \,d^{3} x \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2} \mathrm {csgn}\left (i c \right )}{2}+\frac {i e^{3} \pi \,x^{4} \mathrm {csgn}\left (i \left (x^{3} b +a \right )^{p}\right ) \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2}}{8}-\frac {3 i e \pi \,d^{2} x^{2} \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{3}}{4}+\frac {i e^{3} \pi \,x^{4} \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{2} \mathrm {csgn}\left (i c \right )}{8}+\ln \left (c \right ) d^{3} x -\frac {9 d^{2} e p \,x^{2}}{4}-\frac {i e^{2} \pi d \,x^{3} \mathrm {csgn}\left (i c \left (x^{3} b +a \right )^{p}\right )^{3}}{2}+\frac {p \left (\munderset {\textit {\_R} =\RootOf \left (\textit {\_Z}^{3} b +a \right )}{\sum }\frac {\left (b d \left (4 e^{3} a -b \,d^{3}\right ) \textit {\_R}^{2}+6 a b \,d^{2} e^{2} \textit {\_R} -a^{2} e^{4}+4 a b \,d^{3} e \right ) \ln \left (x -\textit {\_R} \right )}{\textit {\_R}^{2}}\right )}{4 b^{2} e}-d \,e^{2} p \,x^{3}\) \(738\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x+d)^3*ln(c*(b*x^3+a)^p),x,method=_RETURNVERBOSE)

[Out]

-3*d^3*p*x+1/4/b^2*p/e*sum((b*d*(4*a*e^3-b*d^3)*_R^2+6*a*b*d^2*e^2*_R-a^2*e^4+4*a*b*d^3*e)/_R^2*ln(x-_R),_R=Ro
otOf(_Z^3*b+a))+e^2*ln(c)*d*x^3+3/2*e*ln(c)*d^2*x^2-1/2*I*e^2*Pi*d*x^3*csgn(I*(b*x^3+a)^p)*csgn(I*c*(b*x^3+a)^
p)*csgn(I*c)-3/4*I*e*Pi*d^2*x^2*csgn(I*(b*x^3+a)^p)*csgn(I*c*(b*x^3+a)^p)*csgn(I*c)+1/4*e^3*ln(c)*x^4-3/16*e^3
*p*x^4-1/2*I*e^2*Pi*d*x^3*csgn(I*c*(b*x^3+a)^p)^3-3/4*I*e*Pi*d^2*x^2*csgn(I*c*(b*x^3+a)^p)^3+3/4*e^3/b*a*p*x+1
/4*(e*x+d)^4/e*ln((b*x^3+a)^p)-1/8*I*e^3*Pi*x^4*csgn(I*c*(b*x^3+a)^p)^3-1/2*I*Pi*d^3*x*csgn(I*c*(b*x^3+a)^p)^3
-1/2*I*Pi*d^3*x*csgn(I*(b*x^3+a)^p)*csgn(I*c*(b*x^3+a)^p)*csgn(I*c)-1/8*I*e^3*Pi*x^4*csgn(I*(b*x^3+a)^p)*csgn(
I*c*(b*x^3+a)^p)*csgn(I*c)+1/2*I*e^2*Pi*d*x^3*csgn(I*(b*x^3+a)^p)*csgn(I*c*(b*x^3+a)^p)^2+1/2*I*e^2*Pi*d*x^3*c
sgn(I*c*(b*x^3+a)^p)^2*csgn(I*c)+3/4*I*e*Pi*d^2*x^2*csgn(I*(b*x^3+a)^p)*csgn(I*c*(b*x^3+a)^p)^2+3/4*I*e*Pi*d^2
*x^2*csgn(I*c*(b*x^3+a)^p)^2*csgn(I*c)+ln(c)*d^3*x-9/4*d^2*e*p*x^2+1/2*I*Pi*d^3*x*csgn(I*(b*x^3+a)^p)*csgn(I*c
*(b*x^3+a)^p)^2+1/2*I*Pi*d^3*x*csgn(I*c*(b*x^3+a)^p)^2*csgn(I*c)+1/8*I*e^3*Pi*x^4*csgn(I*(b*x^3+a)^p)*csgn(I*c
*(b*x^3+a)^p)^2+1/8*I*e^3*Pi*x^4*csgn(I*c*(b*x^3+a)^p)^2*csgn(I*c)-d*e^2*p*x^3

________________________________________________________________________________________

Maxima [A]
time = 0.60, size = 326, normalized size = 1.02 \begin {gather*} \frac {1}{16} \, b p {\left (\frac {4 \, \sqrt {3} {\left (6 \, a b d^{2} \left (\frac {a}{b}\right )^{\frac {2}{3}} e + 4 \, a b d^{3} \left (\frac {a}{b}\right )^{\frac {1}{3}} - a^{2} \left (\frac {a}{b}\right )^{\frac {1}{3}} e^{3}\right )} \arctan \left (\frac {\sqrt {3} {\left (2 \, x - \left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}}{3 \, \left (\frac {a}{b}\right )^{\frac {1}{3}}}\right )}{a b^{2}} - \frac {3 \, b x^{4} e^{3} + 16 \, b d x^{3} e^{2} + 36 \, b d^{2} x^{2} e + 12 \, {\left (4 \, b d^{3} - a e^{3}\right )} x}{b^{2}} + \frac {2 \, {\left (6 \, a b d^{2} \left (\frac {a}{b}\right )^{\frac {1}{3}} e - 4 \, a b d^{3} + 8 \, a b d \left (\frac {a}{b}\right )^{\frac {2}{3}} e^{2} + a^{2} e^{3}\right )} \log \left (x^{2} - x \left (\frac {a}{b}\right )^{\frac {1}{3}} + \left (\frac {a}{b}\right )^{\frac {2}{3}}\right )}{b^{3} \left (\frac {a}{b}\right )^{\frac {2}{3}}} - \frac {4 \, {\left (6 \, a b d^{2} \left (\frac {a}{b}\right )^{\frac {1}{3}} e - 4 \, a b d^{3} - 4 \, a b d \left (\frac {a}{b}\right )^{\frac {2}{3}} e^{2} + a^{2} e^{3}\right )} \log \left (x + \left (\frac {a}{b}\right )^{\frac {1}{3}}\right )}{b^{3} \left (\frac {a}{b}\right )^{\frac {2}{3}}}\right )} + \frac {1}{4} \, {\left (x^{4} e^{3} + 4 \, d x^{3} e^{2} + 6 \, d^{2} x^{2} e + 4 \, d^{3} x\right )} \log \left ({\left (b x^{3} + a\right )}^{p} c\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^3*log(c*(b*x^3+a)^p),x, algorithm="maxima")

[Out]

1/16*b*p*(4*sqrt(3)*(6*a*b*d^2*(a/b)^(2/3)*e + 4*a*b*d^3*(a/b)^(1/3) - a^2*(a/b)^(1/3)*e^3)*arctan(1/3*sqrt(3)
*(2*x - (a/b)^(1/3))/(a/b)^(1/3))/(a*b^2) - (3*b*x^4*e^3 + 16*b*d*x^3*e^2 + 36*b*d^2*x^2*e + 12*(4*b*d^3 - a*e
^3)*x)/b^2 + 2*(6*a*b*d^2*(a/b)^(1/3)*e - 4*a*b*d^3 + 8*a*b*d*(a/b)^(2/3)*e^2 + a^2*e^3)*log(x^2 - x*(a/b)^(1/
3) + (a/b)^(2/3))/(b^3*(a/b)^(2/3)) - 4*(6*a*b*d^2*(a/b)^(1/3)*e - 4*a*b*d^3 - 4*a*b*d*(a/b)^(2/3)*e^2 + a^2*e
^3)*log(x + (a/b)^(1/3))/(b^3*(a/b)^(2/3))) + 1/4*(x^4*e^3 + 4*d*x^3*e^2 + 6*d^2*x^2*e + 4*d^3*x)*log((b*x^3 +
 a)^p*c)

________________________________________________________________________________________

Fricas [C] Result contains complex when optimal does not.
time = 13.83, size = 8463, normalized size = 26.45 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^3*log(c*(b*x^3+a)^p),x, algorithm="fricas")

[Out]

-1/16*(16*b*d*p*x^3*e^2 + 36*b*d^2*p*x^2*e + 48*b*d^3*p*x - 2*(8*a*d*p*e^2/b - 4*(1/2)^(2/3)*(8*a^2*d^2*p^2*e^
4/b^2 - (12*a*b*d^5*p^2*e + 5*a^2*d^2*p^2*e^4)/b^2)*(-I*sqrt(3) + 1)/(128*a^3*d^3*p^3*e^6/b^3 - 24*(12*a*b*d^5
*p^2*e + 5*a^2*d^2*p^2*e^4)*a*d*p*e^2/b^3 + (64*b^3*d^9 + 168*a*b^2*d^6*e^3 + 12*a^2*b*d^3*e^6 - a^3*e^9)*a*p^
3/b^4 + (64*a*b^3*d^9*p^3 + 24*a^2*b^2*d^6*p^3*e^3 + 4*a^3*b*d^3*p^3*e^6 - a^4*p^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4 + (64*a*b^3*d^9*p^3 + 24*a^2*b^2*d^6*p^3*e^3 + 4*a^3*b*d^3*p^3*e^6 - a^4*p^3*e^9)/b^4)^(1/3) - (1/2)^(1/3)*
(128*a^3*d^3*p^3*e^6/b^3 - 24*(12*a*b*d^5*p^2*e + 5*a^2*d^2*p^2*e^4)*a*d*p*e^2/b^3 + (64*b^3*d^9 + 168*a*b^2*d
^6*e^3 + 12*a^2*b*d^3*e^6 - a^3*e^9)*a*p^3/b^4 ...

________________________________________________________________________________________

Sympy [A]
time = 27.19, size = 265, normalized size = 0.83 \begin {gather*} - \frac {3 a^{2} e^{3} p \operatorname {RootSum} {\left (27 t^{3} a^{2} b - 1, \left ( t \mapsto t \log {\left (3 t a + x \right )} \right )\right )}}{4 b} + 3 a d^{3} p \operatorname {RootSum} {\left (27 t^{3} a^{2} b - 1, \left ( t \mapsto t \log {\left (3 t a + x \right )} \right )\right )} + \frac {9 a d^{2} e p \operatorname {RootSum} {\left (27 t^{3} a b^{2} + 1, \left ( t \mapsto t \log {\left (9 t^{2} a b + x \right )} \right )\right )}}{2} + a d e^{2} p \left (\begin {cases} \frac {x^{3}}{a} & \text {for}\: b = 0 \\\frac {\log {\left (a + b x^{3} \right )}}{b} & \text {otherwise} \end {cases}\right ) + \frac {3 a e^{3} p x}{4 b} - 3 d^{3} p x + d^{3} x \log {\left (c \left (a + b x^{3}\right )^{p} \right )} - \frac {9 d^{2} e p x^{2}}{4} + \frac {3 d^{2} e x^{2} \log {\left (c \left (a + b x^{3}\right )^{p} \right )}}{2} - d e^{2} p x^{3} + d e^{2} x^{3} \log {\left (c \left (a + b x^{3}\right )^{p} \right )} - \frac {3 e^{3} p x^{4}}{16} + \frac {e^{3} x^{4} \log {\left (c \left (a + b x^{3}\right )^{p} \right )}}{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)**3*ln(c*(b*x**3+a)**p),x)

[Out]

-3*a**2*e**3*p*RootSum(27*_t**3*a**2*b - 1, Lambda(_t, _t*log(3*_t*a + x)))/(4*b) + 3*a*d**3*p*RootSum(27*_t**
3*a**2*b - 1, Lambda(_t, _t*log(3*_t*a + x))) + 9*a*d**2*e*p*RootSum(27*_t**3*a*b**2 + 1, Lambda(_t, _t*log(9*
_t**2*a*b + x)))/2 + a*d*e**2*p*Piecewise((x**3/a, Eq(b, 0)), (log(a + b*x**3)/b, True)) + 3*a*e**3*p*x/(4*b)
- 3*d**3*p*x + d**3*x*log(c*(a + b*x**3)**p) - 9*d**2*e*p*x**2/4 + 3*d**2*e*x**2*log(c*(a + b*x**3)**p)/2 - d*
e**2*p*x**3 + d*e**2*x**3*log(c*(a + b*x**3)**p) - 3*e**3*p*x**4/16 + e**3*x**4*log(c*(a + b*x**3)**p)/4

________________________________________________________________________________________

Giac [A]
time = 3.84, size = 407, normalized size = 1.27 \begin {gather*} -\frac {{\left (6 \, a b d^{2} p \left (-\frac {a}{b}\right )^{\frac {1}{3}} e + 4 \, a b d^{3} p - a^{2} p e^{3}\right )} \left (-\frac {a}{b}\right )^{\frac {1}{3}} \log \left ({\left | x - \left (-\frac {a}{b}\right )^{\frac {1}{3}} \right |}\right )}{4 \, a b} + \frac {4 \, b p x^{4} e^{3} \log \left (b x^{3} + a\right ) + 16 \, b d p x^{3} e^{2} \log \left (b x^{3} + a\right ) + 24 \, b d^{2} p x^{2} e \log \left (b x^{3} + a\right ) - 3 \, b p x^{4} e^{3} - 16 \, b d p x^{3} e^{2} - 36 \, b d^{2} p x^{2} e + 16 \, b d^{3} p x \log \left (b x^{3} + a\right ) + 4 \, b x^{4} e^{3} \log \left (c\right ) + 16 \, b d x^{3} e^{2} \log \left (c\right ) + 24 \, b d^{2} x^{2} e \log \left (c\right ) - 48 \, b d^{3} p x + 16 \, b d^{3} x \log \left (c\right ) + 16 \, a d p e^{2} \log \left (b x^{3} + a\right ) + 12 \, a p x e^{3}}{16 \, b} + \frac {{\left (4 \, \sqrt {3} \left (-a b^{2}\right )^{\frac {1}{3}} b d^{3} p - 6 \, \sqrt {3} \left (-a b^{2}\right )^{\frac {2}{3}} d^{2} p e - \sqrt {3} \left (-a b^{2}\right )^{\frac {1}{3}} a p e^{3}\right )} \arctan \left (\frac {\sqrt {3} {\left (2 \, x + \left (-\frac {a}{b}\right )^{\frac {1}{3}}\right )}}{3 \, \left (-\frac {a}{b}\right )^{\frac {1}{3}}}\right )}{4 \, b^{2}} + \frac {{\left (4 \, \left (-a b^{2}\right )^{\frac {1}{3}} b d^{3} p + 6 \, \left (-a b^{2}\right )^{\frac {2}{3}} d^{2} p e - \left (-a b^{2}\right )^{\frac {1}{3}} a p e^{3}\right )} \log \left (x^{2} + x \left (-\frac {a}{b}\right )^{\frac {1}{3}} + \left (-\frac {a}{b}\right )^{\frac {2}{3}}\right )}{8 \, b^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^3*log(c*(b*x^3+a)^p),x, algorithm="giac")

[Out]

-1/4*(6*a*b*d^2*p*(-a/b)^(1/3)*e + 4*a*b*d^3*p - a^2*p*e^3)*(-a/b)^(1/3)*log(abs(x - (-a/b)^(1/3)))/(a*b) + 1/
16*(4*b*p*x^4*e^3*log(b*x^3 + a) + 16*b*d*p*x^3*e^2*log(b*x^3 + a) + 24*b*d^2*p*x^2*e*log(b*x^3 + a) - 3*b*p*x
^4*e^3 - 16*b*d*p*x^3*e^2 - 36*b*d^2*p*x^2*e + 16*b*d^3*p*x*log(b*x^3 + a) + 4*b*x^4*e^3*log(c) + 16*b*d*x^3*e
^2*log(c) + 24*b*d^2*x^2*e*log(c) - 48*b*d^3*p*x + 16*b*d^3*x*log(c) + 16*a*d*p*e^2*log(b*x^3 + a) + 12*a*p*x*
e^3)/b + 1/4*(4*sqrt(3)*(-a*b^2)^(1/3)*b*d^3*p - 6*sqrt(3)*(-a*b^2)^(2/3)*d^2*p*e - sqrt(3)*(-a*b^2)^(1/3)*a*p
*e^3)*arctan(1/3*sqrt(3)*(2*x + (-a/b)^(1/3))/(-a/b)^(1/3))/b^2 + 1/8*(4*(-a*b^2)^(1/3)*b*d^3*p + 6*(-a*b^2)^(
2/3)*d^2*p*e - (-a*b^2)^(1/3)*a*p*e^3)*log(x^2 + x*(-a/b)^(1/3) + (-a/b)^(2/3))/b^2

________________________________________________________________________________________

Mupad [B]
time = 0.95, size = 536, normalized size = 1.68 \begin {gather*} \ln \left (c\,{\left (b\,x^3+a\right )}^p\right )\,\left (d^3\,x+\frac {3\,d^2\,e\,x^2}{2}+d\,e^2\,x^3+\frac {e^3\,x^4}{4}\right )-x\,\left (3\,d^3\,p-\frac {3\,a\,e^3\,p}{4\,b}\right )+\left (\sum _{k=1}^3\ln \left (x\,\left (\frac {9\,a^3\,d\,e^5\,p^2}{4}+\frac {45\,b\,a^2\,d^4\,e^2\,p^2}{4}\right )+\mathrm {root}\left (64\,b^4\,c^3-192\,a\,b^3\,c^2\,d\,e^2\,p+288\,a\,b^3\,c\,d^5\,e\,p^2+120\,a^2\,b^2\,c\,d^2\,e^4\,p^2-4\,a^3\,b\,d^3\,e^6\,p^3-24\,a^2\,b^2\,d^6\,e^3\,p^3-64\,a\,b^3\,d^9\,p^3+a^4\,e^9\,p^3,c,k\right )\,\left (x\,\left (9\,a\,b^2\,d^3\,p-\frac {9\,a^2\,b\,e^3\,p}{4}\right )+\mathrm {root}\left (64\,b^4\,c^3-192\,a\,b^3\,c^2\,d\,e^2\,p+288\,a\,b^3\,c\,d^5\,e\,p^2+120\,a^2\,b^2\,c\,d^2\,e^4\,p^2-4\,a^3\,b\,d^3\,e^6\,p^3-24\,a^2\,b^2\,d^6\,e^3\,p^3-64\,a\,b^3\,d^9\,p^3+a^4\,e^9\,p^3,c,k\right )\,a\,b^2\,9-18\,a^2\,b\,d\,e^2\,p\right )+\frac {45\,a^3\,d^2\,e^4\,p^2}{8}+\frac {27\,a^2\,b\,d^5\,e\,p^2}{2}\right )\,\mathrm {root}\left (64\,b^4\,c^3-192\,a\,b^3\,c^2\,d\,e^2\,p+288\,a\,b^3\,c\,d^5\,e\,p^2+120\,a^2\,b^2\,c\,d^2\,e^4\,p^2-4\,a^3\,b\,d^3\,e^6\,p^3-24\,a^2\,b^2\,d^6\,e^3\,p^3-64\,a\,b^3\,d^9\,p^3+a^4\,e^9\,p^3,c,k\right )\right )-\frac {3\,e^3\,p\,x^4}{16}-\frac {9\,d^2\,e\,p\,x^2}{4}-d\,e^2\,p\,x^3 \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(c*(a + b*x^3)^p)*(d + e*x)^3,x)

[Out]

log(c*(a + b*x^3)^p)*(d^3*x + (e^3*x^4)/4 + (3*d^2*e*x^2)/2 + d*e^2*x^3) - x*(3*d^3*p - (3*a*e^3*p)/(4*b)) + s
ymsum(log(x*((9*a^3*d*e^5*p^2)/4 + (45*a^2*b*d^4*e^2*p^2)/4) + root(64*b^4*c^3 - 192*a*b^3*c^2*d*e^2*p + 288*a
*b^3*c*d^5*e*p^2 + 120*a^2*b^2*c*d^2*e^4*p^2 - 4*a^3*b*d^3*e^6*p^3 - 24*a^2*b^2*d^6*e^3*p^3 - 64*a*b^3*d^9*p^3
 + a^4*e^9*p^3, c, k)*(x*(9*a*b^2*d^3*p - (9*a^2*b*e^3*p)/4) + 9*root(64*b^4*c^3 - 192*a*b^3*c^2*d*e^2*p + 288
*a*b^3*c*d^5*e*p^2 + 120*a^2*b^2*c*d^2*e^4*p^2 - 4*a^3*b*d^3*e^6*p^3 - 24*a^2*b^2*d^6*e^3*p^3 - 64*a*b^3*d^9*p
^3 + a^4*e^9*p^3, c, k)*a*b^2 - 18*a^2*b*d*e^2*p) + (45*a^3*d^2*e^4*p^2)/8 + (27*a^2*b*d^5*e*p^2)/2)*root(64*b
^4*c^3 - 192*a*b^3*c^2*d*e^2*p + 288*a*b^3*c*d^5*e*p^2 + 120*a^2*b^2*c*d^2*e^4*p^2 - 4*a^3*b*d^3*e^6*p^3 - 24*
a^2*b^2*d^6*e^3*p^3 - 64*a*b^3*d^9*p^3 + a^4*e^9*p^3, c, k), k, 1, 3) - (3*e^3*p*x^4)/16 - (9*d^2*e*p*x^2)/4 -
 d*e^2*p*x^3

________________________________________________________________________________________